package com.wasion.pwportable.domain.po;

import java.util.List;

import com.wasion.core.db.orm.annotation.Column;
import com.wasion.core.db.orm.annotation.Id;
import com.wasion.core.db.orm.annotation.Table;

@Table(name = "workline")
public class WorkLine {
	// ID @Id主键,int类型,数据库建表时此字段会设为自增长
	@Id
	@Column(name = "_id")
	private int _id;

	// 线路名
	@Column(name = "linename", type = "UNIQUE")
	private String linename;

	// 方案ID
	@Column(name = "schemeid")
	private String schemeid;

	// 方案名
	private String schemename;

	// 时间
	@Column(name = "time")
	private String time;

	// 备注
	@Column(name = "remark")
	private String remark;

	// 属于线路的终端
	private List<Terminal> terminals;

	public List<Terminal> getTerminals() {
		return terminals;
	}

	public void setTerminals(List<Terminal> terminals) {
		this.terminals = terminals;
	}

	public String getLinename() {
		return linename;
	}

	public void setLinename(String linename) {
		this.linename = linename;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getSchemeid() {
		return schemeid;
	}

	public void setSchemeid(String schemeid) {
		this.schemeid = schemeid;
	}

	public String getSchemename() {
		return schemename;
	}

	public void setSchemename(String schemename) {
		this.schemename = schemename;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
